﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Trackr.ProviderFactory
{
	public interface IDataProvider<T> where T : class
	{
		void UpdateTimeItem(int id, T item);
		int AddNew(string task);
		T GetTimeItem(int id);
		List<T> GetTimeItems();
		T GetLatestTimeItem();
	}
}
